package com.sh.personnel.domain;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * 用户表
 * @author 林思浩
 * @date 2020/02/26 22:10
 */
@Data
@Accessors(chain = true)
public class ITbUser {

    private String id;
    private String username;
    @JsonIgnore
    private String password;
    private String name;
    @JsonIgnore
    private String email;
    private String phone;
    private String avatar;
    private String wish;
    private String createtime;
    @JsonIgnore
    private Integer gender;
    @JsonIgnore
    private String birthday;
    @JsonIgnore
    private String province;
    @JsonIgnore
    private String city;
    @JsonIgnore
    private String district;
    @JsonIgnore
    private Integer positionid;
    private Integer state;
    @JsonIgnore
    private Integer departmentid;


    private List<Integer> roleIds; //前端角色ID数数组/一对多
    private List<Integer> deptIds; //前端部门数组

}
